<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>北化论坛 - 注册</title>
    <link rel="stylesheet" href="style2.css"> <!-- 使用 style2.css -->
</head>
<body>
<script src="method/register-init.js"></script>
    <div class="container">
        <div class="register-box"> <!-- 注册框 -->
            <h1>北化论坛</h1>
            <h2>用户注册</h2>
            <form id="registerForm">
                <div class="input-group">
                    <input id="register-username" type="text" placeholder="用户名" required>
                </div>
                <div class="input-group">
                    <input id="register-nickname" type="text" placeholder="昵称" required>
                </div>
                <div class="input-group">
                    <input id="register-password" type="password" placeholder="密码" required>
                </div>
                <div class="input-group">
                    <input id="confirmed-register-password" type="password" placeholder="确认密码" required>
                </div>
                <button type="submit" class="btn">注册</button>
            </form>
            <div class="toggle">
                <span>已有账号？<a href="login.html">登录</a></span>
            </div>
        </div>
    </div>

    <script src="method/login.js"></script>
</body>
</html>
